package net.suncaper.demo.service;

import net.suncaper.demo.domain.Image;
import net.suncaper.demo.domain.ImageExample;
import net.suncaper.demo.mapper.ImageMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class ImageServiceImpl implements ImageService{
    @Autowired
    private ImageMapper imageMapper;
    @Override
    public void saveImage(Image image) {
        this.imageMapper.insert(image);
    }


}
